#! /bin/bash

#执行sql文件
sqlcmd -S localhost -U sa -P '<123123Aa!@>' -i  'src/2-step1/step1.sql' 

#执行查询
sqlcmd -S localhost -U sa -P '<123123Aa!@>'  << EDF 
use school
go
select * from teacher
go
exit

EDF